package com.artwork.mapper;

import com.artwork.model.Address;

import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    List<Address> getMyAddress(int userId);

    int updateAddressType(int id, Integer type);

    int delete(int id);
}